RM_PagBank\Helpers\Recurring C

Total Complexity 105
Dependencies 8
Dependents 15
Total lines 506
Lines of code 363
Logical lines of code 247
Comment lines 54
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
getRecurringTermsFromCart()
C
31 28 107
getFriendlyStatus()
A
55 8 20
areBenefitsActive()
A
55 8 20
isCartRecurring()
S
52 7 25
getCartRecurringTrial()
S
56 7 18
calculateNextBillingDate()
S
53 6 23
hasSubscriptionDiscountRemaining()
S
55 5 19
getFriendlyType()
S
59 5 14
getStatusFromOrder()
S
63 5 12
hasSubscriptionChargeRemaining()
S
56 4 18
canAccessRestrictedContent()
S
58 4 13
getRecurringAmountFromOrderItems()
S
62 3 11
getAdminSubscriptionDetailsUrl()
S
62 3 10
isSubscriptionUpdatePage()
S
65 3 8
translateFrequency()
S
61 2 12
translateFrequencyTermsPlural()
S
61 2 12
hasDiscount()
S
75 2 4
subscriptionActionUrl()
S
66 2 8
getAllStatuses()
S
64 1 9